<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-medical-statistic" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			<strong><font color="red">当前为查询页面，只能查看信息，无法进行事项的处理，请点击饼图红色部分处理事项， </font></strong> 在此你可以对<span class="label-info"><strong>医疗服务质询事项</strong></span>进行查询!
		</p>
	</div>
		
    <div class="tb-list" style="padding:2px 0">
		<table> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
			
				</td>
			</tr>
		</table>
	</div>
	<table class="easyui-datagrid dg-list"  
		data-options="rownumbers:true,
		animate: true,							
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',					
		fitColumns: true,
		checkOnSelect:true,
		selectOnCheck:true,
		width : 'auto',
		pagination : true">
		
		<thead>						
			<tr>				
				<th field="doct_depart_name" width="60" align="center">科室名称</th>
				<th field="sumary_matter" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">异常事项</th>
				
				<th field="bed_wrong" width="40" align="center" 
				data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'color:blue;';							
						}
					}
				">床位费</th>
				<th field="treat_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">诊疗费</th>
				<th field="nursing_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">护理费</th>
				
						
				<th field="anti_usage_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">抗菌药物使用率</th>
				<th field="base_drug_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">基本药物比例</th>	
				
								
				<th field="anti_varieties_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">抗菌药物使用品种</th>
				<th field="drug_cycle_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">药品使用周期</th>
				<th field="drug_account_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">药占比</th>
				
				
				<th field="check_positive_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">阳性率</th>				
					
				<th field="check_repeat_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">重复检查</th>
				
				<th field="check_sameone_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">同一人开单执行</th>					
				
				<th field="clinic_wrong" width="40" align="center" data-options="
					styler: function(value,row,index){
						if (value > 0){
							return 'background-color:#ffee00;color:red;';							
						}
					}
				">临床诊疗</th>				
										
			</tr>                         
		</thead>
		
	</table>
</div>
<script>
requirejs(['listPageModule','medicalStatistic','domReady!'],function(dept,medicalStatistic,doc){
	dept.init({doc:doc,
		rootId:'panel-medical-statistic',				
		subSystemCode:'medical',
		cellClick:medicalStatistic.clickCell,
		rowClick:medicalStatistic.clickRow,
		
		moduleCode:'medicalStatistic',
		querylistUrl:'getInquiryStatisticListDomain'
	});
});	

</script>

